package com.ruoyi.project.system.subjects.mapper;

import java.util.List;
import com.ruoyi.project.system.subjects.domain.Subjects;

/**
 * subjectsMapper接口
 * 
 * @author admin
 * @date 2025-04-24
 */
public interface SubjectsMapper 
{
    /**
     * 查询subjects
     * 
     * @param id subjects主键
     * @return subjects
     */
    public Subjects selectSubjectsById(Long id);

    /**
     * 查询subjects列表
     * 
     * @param subjects subjects
     * @return subjects集合
     */
    public List<Subjects> selectSubjectsList(Subjects subjects);

    /**
     * 新增subjects
     * 
     * @param subjects subjects
     * @return 结果
     */
    public int insertSubjects(Subjects subjects);

    /**
     * 修改subjects
     * 
     * @param subjects subjects
     * @return 结果
     */
    public int updateSubjects(Subjects subjects);

    /**
     * 删除subjects
     * 
     * @param id subjects主键
     * @return 结果
     */
    public int deleteSubjectsById(Long id);

    /**
     * 批量删除subjects
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSubjectsByIds(String[] ids);
}
